<html>
<head>
    <link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
    <p>
        The Extract Typedef refactoring method changes the selected declaration of a type to the typedef definition. You can apply Extract Typedef when a declaration is cumbersome, potentially confusing, or likely to vary from one implementation to another, or just to make code presentation clearer and more readable.</p>
    <p>
        For example, in the code fragment below, you could place the caret at the type declaration:</p>
    <p class="image">
        <img src="images/ExtractTypedef/image1.png"></p>

    <p>and press <span class="shortcut">&shortcut:CIDR.Lang.IntroduceTypedef;</span>
        (<span class="control">Refactor | Extract Typedef</span>).</p>

    <p>
        This will result in the following:</p>
    <p class="image">
        <img src="images/ExtractTypedef/image2.png"></p>
</body>
</html>
